๐Ÿ“ฆ threepointone / redux-react-local

๐Ÿ“„ 04 persistence.md ยท 6 lines
1
2
3
4
5
6because our state has now effectively been externalized, we can pull off some tricks that react can't

for example, we can render the component anywhere, multiple times, and they'll all synchronize state and behavior
we can unmount a component and when remounting it, it'll still have the state from before